const express = require("express");
const router = express.Router();
// 导入expressJoi
const expressJoi = require("@escook/express-joi");

const settingHandler = require("../router_handler/setting.js");

// 导入验证规则

router.post("/uploadSwiper", settingHandler.uploadSwiper);
router.get("/getAllSwiper", settingHandler.getAllSwiper);
router.get("/getCompanyName", settingHandler.getCompanyName);
router.post("/changeCompanyName", settingHandler.changeCompanyName);
router.post("/changeCompanyIntroduce", settingHandler.changeCompanyIntroduce);
router.get("/getAllCompanyIntroduce", settingHandler.getAllCompanyIntroduce);
router.get(
  "/getCompanyIntroduceDetail",
  settingHandler.getCompanyIntroduceDetail
);
router.post("/getCompanyIntroduce", settingHandler.getCompanyIntroduce);

module.exports = router;
